API Documentation
Thread.h
1 // Thread.h
3 //
5 
6 namespace nkTasks
7 {
11  class Thread final
12  {
13  public :
14 
18  Thread () ;
22  ~Thread () ;
23 
24  // Getters
28  bool getCurrentlyWaiting () const ;
29 
42 
47  void run () ;
48  } ;
49 }
nkTasks::Thread
Symbolizes a thread. Base block to submit off-thread nkTasks::Task in this component.
Definition: Thread.h:12
nkTasks::Thread::addTask
void addTask(nkMemory::UniquePtr< Task > task)
nkTasks::Thread::Thread
Thread()
nkTasks::Thread::getCurrentlyWaiting
bool getCurrentlyWaiting() const
nkTasks
Encompasses all API of component NilkinsTasks.
Definition: LogManager.h:7
nkTasks::Thread::~Thread
~Thread()
nkMemory::UniquePtr
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
nkTasks::Thread::run
void run()